package com.dashen.sso.client;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Barry Wang
 */
@SpringBootApplication
public class SsoClientApplication {

    public static void main(String[] args){

        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration sac = null;
        org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration usac = null;
        org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration sfac = null;

        //引入 jar : spring-security-oauth2-client 使  OAuth2ClientAutoConfiguration 生效
        org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientAutoConfiguration oac = null;

        //org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@45404d5,
        //org.springframework.security.web.context.SecurityContextPersistenceFilter@687e4c93,
        //org.springframework.security.web.header.HeaderWriterFilter@475646d4,
        //org.springframework.security.web.csrf.CsrfFilter@72825400,
        //org.springframework.security.web.authentication.logout.LogoutFilter@684b31de,
        //org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@25d2f66,
        //org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@49ede9c7,
        //org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@3e47a03,
        //org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6ec7bce0,
        //org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6c6333cd,
        //org.springframework.security.web.authentication.AnonymousAuthenticationFilter@29138d3a,
        //org.springframework.security.web.session.SessionManagementFilter@3db972d2,
        //org.springframework.security.web.access.ExceptionTranslationFilter@690bc15e,
        //org.springframework.security.web.access.intercept.FilterSecurityInterceptor@67efd2c2]

        SpringApplication.run(SsoClientApplication.class, args);
    }
}
